package com.chengqj.service;

import java.util.List;

import com.chengqj.pojo.TArticle;
import com.chengqj.pojo.User;

public interface IMainService {
	public User getUserById(int userId);

	public TArticle getArticleById(int id);
	
	public List<TArticle> selectByType(TArticle ta);
	
	public int insert(TArticle record);
	
	List<TArticle> selectSySy();
}
